package com.anthonybennis.blender.client.pages.tipofday;

import com.google.gwt.user.client.ui.Image;

/**
 * 
 * @author abennis
 */
public class TipData 
{
	private final int _id;
	private final String _title;
	private Image _image; //  AB Create lazily using LazyPanel.
	private final String _imageURI;
	private final String _description;
	private final String _versionNumber;
	
	/**
	 * 
	 * @param id
	 * @param title
	 * @param imageURI
	 * @param description
	 * @param versionNumber
	 */
	public TipData(int id, String title, String imageURI, String description, String versionNumber)
	{
		_id = id;
		_title =  title;
		_imageURI = imageURI;
		_description = description;
		_versionNumber = versionNumber;
	}

	/**
	 * 
	 * @return
	 */
	public int getID() 
	{
		return _id;
	}

	/**
	 * 
	 * @return
	 */
	public String getTitle() 
	{
		return _title;
	}

	/**
	 * 
	 * @return
	 */
	public Image getImageLazily() 
	{
		return _image;
	}

	/**
	 * 
	 * @return
	 */
	public String getImageURI() 
	{
		return _imageURI;
	}

	/**
	 * 
	 * @return
	 */
	public String getDescription() 
	{
		return _description;
	}

	/**
	 * 
	 * @return
	 */
	public String getVersionNumber() 
	{
		return _versionNumber;
	}
}